﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class XeBUS
    {
        public static int Them(XeDTO xeDto)
        {
            return XeDAO.Them(xeDto);
        }

        public static List<string> LayDanhSach()
        {
            return XeDAO.LayDanhSach();
        }

        public static List<XeDTO> LayDanhSach(int param, LoaiTimKiemMotThamSo loai)
        {
            return XeDAO.LayDanhSach(param, loai);
        }

        public static List<XeDTO> LayDanhSach(int param1, int param2, LoaiTimKiemHaiThamSo loai)
        {
            return XeDAO.LayDanhSach(param1, param2, loai);
        }

        public static List<XeDTO> LayDanhSach(int loaiHang, int hangXe, int trongTai)
        {
            return XeDAO.LayDanhSach(loaiHang, hangXe, trongTai);
        }
    }
}
